{% layout('layout/default') -%}
<div class="mod">
            <div class="mod-hd">
                <h2>添加分类</h2>
            </div>
            <div class="mod-bd">
                <div class="form">
                    <form action="/category/create" method="post">
                        <div class="form-group">
                            <label>Name</label>
                            <input type="text" autocomplete="off" class="form-control" name="name" value="" />
                        </div>
                        <div class="form-group">
                            <label>slug</label>
                            <input type="text" autocomplete="off" class="form-control" name="slug" value="" />
                        </div>
                        <div class="form-group">
                            <label>type</label>
                            <input type="text" autocomplete="off" class="form-control" name="type" value="category" />
                        </div>
                        <div class="form-group">
                            <label>logo</label>
                            <input type="text" autocomplete="off" class="form-control" name="logo" value="" />
                        </div>
                        <div class="form-group">
                            <label>description</label>
                            <input type="text" autocomplete="off" class="form-control" name="description" value="" />
                        </div>
                        <button type="submit" class="btn btn-default">Submit</button>
                    </form>
                </div>
            </div>
        </div>
